//
//  NYArticleDetailModel.h
//  Nooryes
//
//  Created by baken on 2020/3/5.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseModel.h"
@class ArticleDetailModel,TopicCategoryModel;
NS_ASSUME_NONNULL_BEGIN

@interface NYArticleDetailModel : BaseModel

@property (nonatomic, strong) ArticleDetailModel *data;

@end


@interface ArticleDetailModel : NSObject

@property (nonatomic, strong) NSString *articleid;

@property (nonatomic, strong) NSString *title;

@property (nonatomic, strong) NSArray<NSString *> *images;

@property (nonatomic, strong) NSString *userid;

@property (nonatomic, strong) NSString *content;

@property (nonatomic, strong) NSString *talkid;

@property (nonatomic, strong) NSString *type; //1种草 2拔草
 
@property (nonatomic, strong) NSString *classid;

@property (nonatomic, strong) NSString *dateline;

@property (nonatomic, strong) NSString *modifytime;

@property (nonatomic, strong) NSString *look;

@property (nonatomic, strong) NSString *zan;

@property (nonatomic, strong) NSString *collect;

@property (nonatomic, strong) NSString *state;

@property (nonatomic, strong) NSString *headimg;

@property (nonatomic, strong) NSString *pubtime;

@property (nonatomic, strong) NSString *shopimg;

@property (nonatomic, strong) NSString *shoptitle;

@property (nonatomic, strong) NSString *shoplink;

@property (nonatomic, strong) NSString *nickname;

@property (nonatomic, strong) NSString *userimg;

@property (nonatomic, strong) NSString *talkname;

@property (nonatomic, strong) NSString *classname;

@property (nonatomic, assign) CGFloat textHeight;

@property (nonatomic, assign) CGFloat classWidth;

@property (nonatomic, strong) NSString *image; //"": 文章头图(分享可用),

@property (nonatomic, strong) NSString *shareurl; //  "": "文章分享地址",

@property (nonatomic, assign) BOOL iscollect;

@property (nonatomic, assign) BOOL iszan;

@property (nonatomic, assign) CGFloat img_width;

@property (nonatomic, assign) CGFloat img_height;

@property (nonatomic, assign) CGFloat hdwidth;

@property (nonatomic, assign) CGFloat hdheight;



//"": 文章头图(分享可用),
//  "": "文章分享地址",
//  "iscollect": 是否已收藏 0否 1是,
//  "iszan": 是否已点赞 0否 1是
//"img_width": 列表封面图宽,
//"img_height": 列表封面图高,
//"hdwidth": 幻灯首图宽,
//"hdheight": 幻灯首图高,


@property (nonatomic, strong) NSArray<TopicCategoryModel *> *talks;
@end


NS_ASSUME_NONNULL_END
